package com.qiyeji.real_estate.mapper;

import com.qiyeji.real_estate.entity.projectFileInformation;
import com.qiyeji.real_estate.entity.projectFileInformationKey;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface projectFileInformationMapper {
    int deleteByPrimaryKey(projectFileInformationKey key);

    int delete(String pCode);

    int insert(projectFileInformation record);

    int insertSelective(projectFileInformation record);

    projectFileInformation selectByPrimaryKey(String key);

    int updateByPrimaryKeySelective(projectFileInformation record);

    int updateByPrimaryKey(projectFileInformation record);

    List<projectFileInformation> getAllProjectFileInformation();

    List<projectFileInformation> fuzzyQuery(String key);

    List<projectFileInformation> getFileNameBysCode(String sCode);
}